package org.tbjd.client.utils;

import java.util.Date;

public class TimeUtils {


	/**
	 * Returns the time between two dates in milliseconds
	 * 
	 * @param originalBeginDate
	 * @param newBeginDate
	 * @return milliseconds between two dates
	 */
	static public long getOffset(Date originalBeginDate, Date newBeginDate) {
		return newBeginDate.getTime() - originalBeginDate.getTime();
	}
}
